package MazeGenProject;

import java.awt.Graphics;
import java.awt.Point;

import org.jhotdraw.figures.LineFigure;

public class SolveFigure extends LineFigure {
	
	private Point _start;
	private Point _end;
	
	public SolveFigure(Point start, Point end){
		_start = start;
		_end = end;
		
	}
	
	
	@Override
	protected void drawLine(Graphics g, int x1, int y1, int x2, int y2) {
		g.drawLine(_start.x, _start.y, _end.x, _end.y);
	}

}
